package com.zzjc.webauth.utils;

import org.springframework.security.crypto.bcrypt.BCryptPasswordEncoder;


public class PasswordUtils {

    public static String generatePassword(String rawPassword) {
        BCryptPasswordEncoder bCryptPasswordEncoder = new BCryptPasswordEncoder();
        return bCryptPasswordEncoder.encode(rawPassword);
    }

}
